﻿Public Class BanDTO
    'MaBan int primary key, 
    'Loai int ,
    'TinhTrang int	
    Private _maBan As Integer
    Private _loai As Integer
    Private _tinhTrang As Integer

#Region "Các hàm khởi tạo"
    Public Sub New()
        _maBan = 0
        _loai = 0
        _tinhTrang = 0
    End Sub

    Public Sub New(ByVal MaBan As Integer, ByVal Loai As Integer, ByVal TinhTrang As Integer)
        _maBan = MaBan
        _loai = Loai
        _tinhTrang = TinhTrang
    End Sub
#End Region

#Region "Các hàm get & set"
    Public Property MaBan As Integer
        Get
            Return _maBan
        End Get
        Set(ByVal value As Integer)
            _maBan = value
        End Set
    End Property

    Public Property Loai As Integer
        Get
            Return _loai
        End Get
        Set(ByVal value As Integer)
            _loai = value
        End Set
    End Property

    Public Property TinhTrang As Integer
        Get
            Return _tinhTrang
        End Get
        Set(ByVal value As Integer)
            _tinhTrang = value
        End Set
    End Property
#End Region
End Class
